package request

type User struct {
	Username string `form:"username" json:"username" binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
	Mobile int `form:"mobile" json:"mobile" binding:"required"`
	Status int `form:"status" json:"status" binding:"required"`
}

type UserList struct {
	Id int32  `form:"id" json:"id" binding:"required"`
	Status int32  `form:"status" json:"status"`
	Username      string `form:"username" json:"username"`
	CreatedAt string `form:"created_at" json:"created_at"`
	Limit     int32    `form:"limit" json:"limit"`
	Page      int32    `form:"page" json:"page"`
}

type UserUpdate struct {
	Id int32  `form:"id" json:"id" binding:"required"`
	Username string `form:"username" json:"username" binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
	Mobile int `form:"mobile" json:"mobile" binding:"required"`
	Status int `form:"status" json:"status" binding:"required"`}

type UserDel struct {
	Id int32  `form:"id" json:"id" binding:"required"`
}

type UserInfo struct {
	Id int32  `form:"id" json:"id" binding:"required"`
}


